Prerequisites

WebMiLL requires a web application server (such as Tomcat 6) that supports the following specifications:
JDK 6 or later
Servlet 2.4 or later

JDBC compatible database can be used to keep application data on server side. MySQL 5 database engine is used as a reference database.
WebMiLL uses jamwiki as wiki engine. Jamwiki should be installed at same web application server.

Installation

1) Install JDK 6 or later. See http://java.sun.com/javase/downloads/index.jsp for instructions.

2) Install Apache Tomcat 6 or later. See http://tomcat.apache.org/ for instructions. You can choose else web application server. 

3) Deploy the webMill WAR file (dist/webMill.war). See your web application server's documentation for specific deployment instructions.

4) Create a new database instance with all necessary tables that can be used by WebMiLL. Appropriate sql script is provided with WAR (etc/db_script/db_create_script/schema.sql).

5) Default build uses Mysql 5 db driver which already included in war. Verify that the correct JDBC driver is available in the web application server's classpath if you use else database engine.

6) Configure web/WEB-INF/classes/hibernate.cfg.xml. Provide correct values for hibernate.dialect and hibernate.connection.* properties

7) Deploy the jamwiki WAR file. Jamwiki should has /jamwiki conext path to use with default webMiLL build. See http://jamwiki.org/wiki/en/Installation for instructions.



Building from source

1) Install JDK 6 or later. See http://java.sun.com/javase/downloads/index.jsp for instructions.

2) Install Apache Tomcat 6 or later. See http://tomcat.apache.org/ for instructions. You can choose else web application server. 

3) Download latest sources from svn

4) Install and configure Apache Ant. See http://ant.apache.org/ for instructions.

5) Install and configure Apache Maven. See http://maven.apache.org/ for instructions.

6) copy build.properties.eg to build.properties in root and delineation-tool directories.

7) Provide correct properties to build.properties in root and delineation-tool directories.

8) Create a new database instance that can be used by WebMiLL. Appropriate sql script is provided (etc/db_script/create_db.sql).

9) Run "schemaexport" ant task.

10) Run "dist-all" ant task. dist directory should contain webMill.war and jamwiki.war now.


Backup and restore

WebMill uses external database to store all persistent data. You can use database standard backup/restore tools.